/*
 *this file is part of nseer erp
 *Copyright (C)2006-2010 Nseer(Beijing) Technology co.LTD/http://www.nseer.com 
 *
 *This program is free software; you can redistribute it and/or
 *modify it under the terms of the GNU General Public License
 *as published by the Free Software Foundation; either
 *version 2 of the License, or (at your option) any later version.
 */
package include.validator;

import javax.servlet.http.HttpSession;

public class ValidatorDupBean8 {

    private boolean a;

	    public boolean toCompare(HttpSession session, String tn, String fn, String value, String values) {
        try {
				if(value.indexOf("_")!=-1&&value.split("_")[0].equals(values)){
					 a = false;
				}else{
					 a = true;
				}
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        return a;
    }
}
